const exprss = require('express')
const cors = require('cors')
const app = exprss()

app.use(cors())

app.get('/api', (req, res) => {
    res.send({ "a": 20 })
})

app.listen(8080, () => {
    console.log("The server is running at 8080 port ");
})
